import service from "../server";


interface ILogin {
    adminname: string,
    password: string
}

export const LoginApi = (data: ILogin) => 
    service({
        url: "/admin/login",
        method: "post",
        data,
    })
